package practice3;

public class Student {
	private long id;
	private String name;
	private double grade;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getGrade() {
		return grade;
	}
	public void setGrade(double grade) {
		this.grade = grade;
	}
	Student(long id,String name,double grade){
		this.id = id;
		this.name = name;
		this.grade = grade;
	}
	public void print(){
		System.out.println("***********");
		System.out.println("姓名："+name);
		System.out.println("id："+id);
		System.out.println("成绩："+grade);
	}
	
}
